# !/bin/usr/python
# _*_ coding=utf-8 _*_
# Filename : webcgi.py

import time
import cgi

# response
res = 'hello! welcome to python cgi!'

# cgi
form = cgi.FieldStorage()

# params
param = form['name'].value

# http head
print ('Status: 200 OK')
print ('Content-Type: text/html')
print ('')

# body
print ( res )
